home *** CD-ROM | disk | FTP | other *** search
- 34
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- FontInstalled
- --- RECORDSEPARATOR ---
- Platform:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows and Macintosh
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Description:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baFontInstalled reports whether or not a font is installed.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Usage:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Result = baFontInstalled( FontName, Style )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Arguments:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- String, String.
- --- RECORDSEPARATOR ---
- FontName is the name of the font family eg "Arial".
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
- - Style is the specific style eg "Bold". Use an empty string ("") to see if the
- --- RECORDSEPARATOR ---
- basic font is installed. The style is ignored if FontName is a Bitmap font.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Macintosh
- --- RECORDSEPARATOR ---
- - the Style argument is ignored.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Returns:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Integer.
- --- RECORDSEPARATOR ---
- Returns 1 if the font is presently installed, otherwise 0.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Examples:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Director:
- --- RECORDSEPARATOR ---
- set FontOK = baFontInstalled( "Arial", "Bold Italic" )
- --- RECORDSEPARATOR ---
- Authorware:
- --- RECORDSEPARATOR ---
- FontOK := baFontInstalled( "Times", "" )
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- If you ask for a specific font style, then the function will only return true if that style
- --- RECORDSEPARATOR ---
- is present. For example, if you ask for "Arial", "Bold" and only the normal Arial is
- --- RECORDSEPARATOR ---
- installed, this function will return 0. Some fonts may have different names for the
- --- RECORDSEPARATOR ---
- styles, eg "Black" for bold and "Oblique" for italic. You must use the names built
- --- RECORDSEPARATOR ---
- into the font.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baInstallFont